package com.pureut.system.domain.dto;

import com.pureut.system.domain.SysMenu;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: YSL
 * @Date: 2023/1/12 9:24
 * @Desc: 触发按键 （单据配置）
 */
public class SysMenuPermsDto {

    /**
     * 菜单id
     */
    private Long menuId;

    /**
     * 菜单名称
     */
    private String menuName;

    private long parentId;

    /** 子菜单 */
    private List<SysMenuPermsDto> children = new ArrayList<SysMenuPermsDto>();

    public List<SysMenuPermsDto> getChildren() {
        return children;
    }

    public void setChildren(List<SysMenuPermsDto> children) {
        this.children = children;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }
}
